/*
 * UserSettings.h
 *
 *  Created on: Oct 19, 2012
 *      Author: johnny
 */
 
#ifndef USERSETTINGS_H_
#define USERSETTINGS_H_

#include <iostream>
#include <boost/format.hpp>
#include <boost/filesystem.hpp>

namespace fs = boost::filesystem;

namespace util {

enum DataDirectories {
    MeasDir, DataDir,
    CfgDir, MoDir
};

void setDirs(fs::path _measurementFolder,
             fs::path _dataDir, fs::path _cfgDir,
             fs::path _moDir);

void setDir(enum DataDirectories dir, fs::path p);
void setDir(enum DataDirectories dir, std::wstring p);
fs::path getDir(enum DataDirectories dir);
std::string getDirAsString(enum DataDirectories dir);

class UserSettings {
    UserSettings() {}
    UserSettings(const UserSettings&) {}
    void operator=(const UserSettings&) {}
public:
    static UserSettings& getInstance();

    fs::path measurementFolder;
    fs::path dataDir;
    fs::path cfgDir;
    fs::path moDir;
};

}

#endif
